package com.woniuxy.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Generated;
import lombok.NoArgsConstructor;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
/**
 * TODO
 *商品类
 * @Description
 * @Author jresm骏
 * @Date 2022/12/5 19:38
 **/

@Entity(name = "jre_product")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Product implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer pid;
    private String name;
    private  Double price;
    private Integer stock;

    public Product(String 订单, double v, int i) {
    }
}